package com.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName(value = "user")
public class User {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "icon")
    private String icon;

    @TableField(value = "nick_name")
    private String nickName;

    @TableField(value = "PASSWORD")
    private String password;

    @TableField(value = "phone_number")
    private String phoneNumber;

    @TableField(value = "sign")
    private String sign;

    @TableField(value = "ant_power")
    private Double antPower;

    @TableField(value = "my_pay")
    private Double myPay;

    @TableField(value = "my_sell")
    private Double mySell;

    @TableField(value = "favorities")
    private Integer favorities;

    @TableField(value = "records")
    private Integer records;

    @TableField(value = "posts")
    private Integer posts;

    public static final String COL_ID = "id";

    public static final String COL_ICON = "icon";

    public static final String COL_NICK_NAME = "nick_name";

    public static final String COL_PASSWORD = "PASSWORD";

    public static final String COL_PHONE_NUMBER = "phone_number";

    public static final String COL_SIGN = "sign";

    public static final String COL_ANT_POWER = "ant_power";

    public static final String COL_MY_PAY = "my_pay";

    public static final String COL_MY_SELL = "my_sell";

    public static final String COL_FAVORITIES = "favorities";

    public static final String COL_RECORDS = "records";

    public static final String COL_POSTS = "posts";

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return icon
     */
    public String getIcon() {
        return icon;
    }

    /**
     * @param icon
     */
    public void setIcon(String icon) {
        this.icon = icon;
    }

    /**
     * @return nick_name
     */
    public String getNickName() {
        return nickName;
    }

    /**
     * @param nickName
     */
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    /**
     * @return PASSWORD
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return phone_number
     */
    public String getPhoneNumber() {
        return phoneNumber;
    }

    /**
     * @param phoneNumber
     */
    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    /**
     * @return sign
     */
    public String getSign() {
        return sign;
    }

    /**
     * @param sign
     */
    public void setSign(String sign) {
        this.sign = sign;
    }

    /**
     * @return ant_power
     */
    public Double getAntPower() {
        return antPower;
    }

    /**
     * @param antPower
     */
    public void setAntPower(Double antPower) {
        this.antPower = antPower;
    }

    /**
     * @return my_pay
     */
    public Double getMyPay() {
        return myPay;
    }

    /**
     * @param myPay
     */
    public void setMyPay(Double myPay) {
        this.myPay = myPay;
    }

    /**
     * @return my_sell
     */
    public Double getMySell() {
        return mySell;
    }

    /**
     * @param mySell
     */
    public void setMySell(Double mySell) {
        this.mySell = mySell;
    }

    /**
     * @return favorities
     */
    public Integer getFavorities() {
        return favorities;
    }

    /**
     * @param favorities
     */
    public void setFavorities(Integer favorities) {
        this.favorities = favorities;
    }

    /**
     * @return records
     */
    public Integer getRecords() {
        return records;
    }

    /**
     * @param records
     */
    public void setRecords(Integer records) {
        this.records = records;
    }

    /**
     * @return posts
     */
    public Integer getPosts() {
        return posts;
    }

    /**
     * @param posts
     */
    public void setPosts(Integer posts) {
        this.posts = posts;
    }
}